package com.ym.medical.domain.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ym.medical.enums.InquiryOrderPaymentStateEnum;
import com.ym.medical.enums.InquiryOrderStateEnum;
import com.ym.medical.enums.PaymentWayEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 问诊交易记录
 */
@Data
@ApiModel("问诊交易记录")
public class InquiryTdRecordVO {
    @ApiModelProperty("订单编号")
    private String ioNum;
    @ApiModelProperty("订单状态")
    @JsonSerialize(converter = InquiryOrderStateEnum.Covert.class)
    private String ioState;
    @ApiModelProperty("订单状态 key='InquiryOrderStateEnum'")
    private String ioStateName;
    @ApiModelProperty("订单支付状态")
    @JsonSerialize(converter = InquiryOrderPaymentStateEnum.Covert.class)
    private String ioPaymentState;
    @ApiModelProperty("订单支付状态 key='InquiryOrderPaymentStateEnum'")
    private String ioPaymentStateName;
    @ApiModelProperty("交易金额")
    private String ioPaymentPrice;
    @ApiModelProperty("订单支付方式")
    @JsonSerialize(converter = PaymentWayEnum.Covert.class)
    private String ioPaymentWay;
    @ApiModelProperty("订单支付方式 key='PaymentWayEnum'")
    private String ioPaymentWayName;
    @ApiModelProperty("支付账户")
    private String payAcc;
    @ApiModelProperty("交易时间")
    private Date tdTime;
    @ApiModelProperty("创建时间")
    private Date createTime;


    @ApiModelProperty("宿主医院编码")
    private String hostHosCode;
    @ApiModelProperty("宿主医院名称")
    private String hostHosName;
    @ApiModelProperty("宿主科室编码")
    private String hostDeptCode;
    @ApiModelProperty("宿主科室名称")
    private String hostDeptName;
    @ApiModelProperty("宿主医生姓名")
    private String hostRealName;
    @ApiModelProperty("宿主交易单号")
    private String hostTdNo;
    @ApiModelProperty("宿主交易金额")
    private String hostTdAmount;
    @ApiModelProperty("宿主交易后账户余额")
    private String hostAftTdAmount;
    @ApiModelProperty("宿主医生类型 (全科 专科)")
    private String hostDoctCategory;


    @ApiModelProperty("抢单医生姓名")
    private String docRealName;
    @ApiModelProperty("抢单医生交易单号")
    private String docTdNo;
    @ApiModelProperty("抢单医生交易金额")
    private String docTdAmount;
    @ApiModelProperty("抢单医生交易后账户余额")
    private String docAftTdAmount;
    @ApiModelProperty("抢单医生类型 (全科 专科)")
    private String docDoctCategory;

    @ApiModelProperty("患者姓名")
    private String patientName;
    @ApiModelProperty("患者手机号")
    private String patientPhoneNo;
    @ApiModelProperty("患者证件号码")
    private String patientNo;
    @ApiModelProperty("患者交易单号")
    private String patientTdNo;
    @ApiModelProperty("患者交易后账户余额")
    private String patientAftTdAmount;

}
